package cn.caplike.demo.repository.design.pattern.decorator;

public class Client {
    public static void main(String[] args) {
        final Component component = new ConcreteDecorator1(new ConcreteDecorator2(new ConcreteComponent()));
        component.doSomething();
    }
}
